package com.example.logisticsingle.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统用户

 *
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Table(name = "sys_user")
public class SystemUser extends User {
	/**
	 * 
	 */
	private static final long serialVersionUID = -9166964958772734623L;
	/**
	 * 部门ID
	 */
	@Column(name = "dept_id",type = MySqlTypeConstant.BIGINT,length = 20,comment = "部门ID")
	private long deptId;
	/**
	 * 头像路径
	 */
	@Column(name = "avatar",type = MySqlTypeConstant.VARCHAR,length = 100,comment = "头像路径")
	private String avatar;
	/**
	 * 平台
	 */
	@Column(name = "platform_code",type = MySqlTypeConstant.VARCHAR,length = 10,comment = "平台")
	private String platformCode="TIM";
	/**
	 * 用户类型（00系统用户）
	 */
	@Column(name = "user_type",type = MySqlTypeConstant.VARCHAR,length = 2,isNull = false,
			defaultValue = "00",comment = "用户类型（00系统用户）")
	protected String userType;
}
